#include"Astring.h"
#include<iostream>

using std::cout; using std::endl; using std::cin;

void test1()
{
	//Astring s2;
	//cout << s2.c_str() << endl;
	Astring s1("a");
	//cout << s1.c_str() << endl;
	//cout << s1.size() << endl;
	//cout << s1[1] << endl;
	s1.append("aaa");
	//s1.push_back('a');
	// s1 += "aaa";

	for (Astring::iterator begin = s1.begin(); begin < s1.end(); ++begin)
	{
		cout << *begin << endl;
	}
}


int main()
{
	test1();
	return 0;
}